﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FySystem.Data.OrmA.Attributes
{
    /// <summary>
    /// 表特性
    /// </summary>
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public class FyTableAttribute : Attribute
    {
        public string Schema { get; set; }

        public string Table { get; set; }

        public FyTableAttribute(string table)
        {
            Table = table;
        }

        public FyTableAttribute(string schema,string table)
        {
            Schema = schema;
            Table = table;
        }
    }
}
